package com.zjitc.model;/**
 * Create by IntelliJ IDEA
 *
 * @author: MaoYongQi
 * @date-Time: 2018/3/27 18:50
 * @description:
 */

import java.util.Date;

/**
 * Create by IntelliJ IDEA
 *
 * @author: MaoYongQi
 * @date-Time: 2018/3/27 18:50
 * @description:
 */
public class Product {

  private Integer ProductId;
  private Integer categoryId;
  private String name;
  private String subtitle;
  private String mainImage;
  private String subImages;
  private String detail;
  private Double price;
  private Integer stock;
  private Integer status;
  private Date createTime;
  private Date updateTime;

  public Product() {
  }

  public Product(Integer ProductId, Integer categoryId, String name, String subtitle,
                 String mainImage, String subImages, String detail, Double price, Integer stock,
                 Integer status, Date createTime, Date updateTime) {
    this.ProductId = ProductId;
    this.categoryId = categoryId;
    this.name = name;
    this.subtitle = subtitle;
    this.mainImage = mainImage;
    this.subImages = subImages;
    this.detail = detail;
    this.price = price;
    this.stock = stock;
    this.status = status;
    this.createTime = createTime;
    this.updateTime = updateTime;
  }

  public Integer getProductId() {
    return ProductId;
  }

  public void setProductId(Integer productId) {
    ProductId = productId;
  }

  public Integer getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(Integer categoryId) {
    this.categoryId = categoryId;
  }

  public String getMainImage() {
    return mainImage;
  }

  public void setMainImage(String mainImage) {
    this.mainImage = mainImage;
  }

  public String getSubImages() {
    return subImages;
  }

  public void setSubImages(String subImages) {
    this.subImages = subImages;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getSubtitle() {
    return subtitle;
  }

  public void setSubtitle(String subtitle) {
    this.subtitle = subtitle;
  }

  public String getDetail() {
    return detail;
  }

  public void setDetail(String detail) {
    this.detail = detail;
  }

  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }

  public Integer getStock() {
    return stock;
  }

  public void setStock(Integer stock) {
    this.stock = stock;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

}
